also remove gpsbabel executable that should never have been checked in.
uint32_t ident = gbfgetuint32(ftmp);
is_fatal(ident != 0x66697845, MYNAME ": Invalid EXIF header magic.");
is_fatal(gbfgetint16(ftmp) != 0, MYNAME ": Error in EXIF header.");
- uint16_t endianess = gbfgetint16(ftmp);
+ uint16_t endianness = gbfgetint16(ftmp);
if (global_opts.debug_level >= 3) {
- printf(MYNAME ": endianess = 0x%04X\n", endianess);
+ printf(MYNAME ": endianness = 0x%04X\n", endianness);
}
- if (endianess == 0x4949) {
+ if (endianness == 0x4949) {
ftmp->big_endian = 0;
- } else if (endianess == 0x4D4D) {
+ } else if (endianness == 0x4D4D) {
ftmp->big_endian = 1;
} else {
- fatal(MYNAME ": Invalid endianess identifier 0x%04X!\n", endianess);
+ fatal(MYNAME ": Invalid endianness identifier 0x%04X!\n", endianness);
}
gbfseek(ftmp, 6, SEEK_SET);
virtual void rd_position_init(const QString& /* fname */)
{
- fatal("Realtime tracking (-T) is not suppored by this input type.\n");
+ fatal("Realtime tracking (-T) is not supported by this input type.\n");
}
virtual Waypoint* rd_position(posn_status* /* status */)
rc |= do_cmd("$PHLX810*35\r\n", "PHLX852,", nullptr, 10);
rc |= do_cmd("$PHLX826*30\r\n", "PHLX859*38", nullptr, 10);
if (rc != 0) {
- dbg(2, "Greeting not successfull.\n");
+ dbg(2, "Greeting not successful.\n");
}
}
xfree(model);
if (mtk_device == HOLUX_GR245) {
int rc = do_cmd("$PHLX827*31\r\n", "PHLX860*32", nullptr, 10);
if (rc != 0) {
- dbg(2, "Goodbye not successfull.\n");
+ dbg(2, "Goodbye not successful.\n");
}
}
db(1, MYNAME ": rd_buf(): Read error (%d)\n", rc);
return res_ERROR;
} else if (rc < len) {
- db(1, MYNAME ": rd_buf(): Read timout\n");
+ db(1, MYNAME ": rd_buf(): Read timeout\n");
return res_ERROR;
}
if (rc = gbser_read_wait(fd, buf, len, TIMEOUT), rc < 0) {
fatal(MYNAME ": Read error (%d)\n", rc);
} else if (rc < len) {
- db(2, MYNAME ": Read timout, got %i of %i bytes\n", rc, len);
+ db(2, MYNAME ": Read timeout, got %i of %i bytes\n", rc, len);
return 0;
}
return 1;